package com.jay.base.jvm;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by caoyuan7 on 2020/4/16.
 */
public class JConsoleTest {
    public byte[] b1 = new byte[128 * 1024];
    public static void main(String[] args) {
        List<Demo> demoList = new ArrayList<Demo>();

        while(true) {
            demoList.add(new Demo());
        }
    }
    private static void fill(int n) {
        List<JConsoleTest> jlist = new ArrayList<JConsoleTest>();
        for(int i = 0;i < n;i++) {
            try {
                Thread.sleep(50);
            } catch (InterruptedException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
//           120*20*26=62400
//30000  20
            jlist.add(new JConsoleTest());
        }
    }
}
class Demo{

}